package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:访问来源记录 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:YCM
 * 创建时间:2015-12-23 14:21:32
 */
 @ITable(name="fromTrack",code="skg_site_from_track")
public class FromTrackTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="sys",column="sys_")
	protected String  sys; 		/*访问系统。web=PC端；wap=移动Wap端*/
	@IField(name="type",column="type_")
	protected String  type; 		/*业务类型。login=登录；register=注册；placeOrder=下订单*/
	@IField(name="from",column="from_")
	protected String  from; 		/*来源URL*/
	@IField(name="content",column="content_")
	protected String  content; 		/*关联内容。当type_=login时，本值为登录的会员（参与者）ID；当type_=register时，本值为注册的会员（参与者）ID；当type_=placeOrder时，本值为soNo*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSys(String sys) 
	{
		this.sys = sys;
	}
	/**
	 * 返回 访问系统。web=PC端；wap=移动Wap端
	 * @return
	 */
	public String getSys() 
	{
		return this.sys;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 业务类型。login=登录；register=注册；placeOrder=下订单
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setFrom(String from) 
	{
		this.from = from;
	}
	/**
	 * 返回 来源URL
	 * @return
	 */
	public String getFrom() 
	{
		return this.from;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}
	/**
	 * 返回 关联内容。当type_=login时，本值为登录的会员（参与者）ID；当type_=register时，本值为注册的会员（参与者）ID；当type_=placeOrder时，本值为soNo
	 * @return
	 */
	public String getContent() 
	{
		return this.content;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("sys", this.sys) 
		.append("type", this.type) 
		.append("from", this.from) 
		.append("content", this.content) 
		.append("createTime", this.createTime) 
		.toString();
	}
}